﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;

namespace WP8.UserControls.UserControls
{
    public partial class Contador : UserControl
    {
        public int Cuenta { get; set; }

        public Contador()
        {
            InitializeComponent();
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            this.Cuenta++;
            this.tb.Text = Cuenta.ToString();
        }
    }
}
